#
# Be sure to run `pod lib lint JTTest.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'JTTest'
  s.version          = '0.1.1'
  s.summary          = '一个测试私有库搭建的项目'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: 创建一个私有仓库的项目，用于测试私有库的搭建
                       DESC

  s.homepage         = 'https://gitee.com/hjt_830/JTTest'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'hjt_830' => 'Hjt_830@163.com' }
  s.source           = { :git => 'https://gitee.com/hjt_830/JTTest.git', :tag => s.version.to_s }
  s.social_media_url = 'https://www.jianshu.com/u/7e5e59276b03'

  s.ios.deployment_target = '8.0'

  # s.resource_bundles = {
  #   'JTTest' => ['JTTest/Assets/*.png']
  # }
  
  s.subspec 'Category' do |aa|
      aa.frameworks = 'Foundation'
      aa.dependency 'GTMBase64', '~> 1.0.1'
      
      aa.source_files = 'JTTest/Classes/Category/*.{h,m}'
      aa.public_header_files = 'JTTest/Classes/Category/*.h'
  end
  
  s.subspec 'Manager' do |bb|
      bb.frameworks = 'Foundation'
      bb.dependency 'JTTest/Category'
      
      bb.source_files = 'JTTest/Classes/Manager/*.{h,m}'
      bb.public_header_files = 'JTTest/Classes/Manager/*.h'
  end

end
